]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
networkAgent: Fix order of _() and format()
authorIvan Molodetskikh <yalterz@gmail.com>
Thu, 26 Aug 2021 07:55:03 +0000 (07:55 +0000)
committerIvan Molodetskikh <yalterz@gmail.com>
Thu, 26 Aug 2021 08:19:59 +0000 (08:19 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1961>

js/ui/components/networkAgent.js

index 29b8190cc1f1f03c40e4a040ebf5ab3c5c52996c..9a1885a038f1c83abe7db3a8e28a794e36e02337 100644 (file)
@@ -682,11 +682,11 @@ var NetworkAgent = class {
         }
         case '802-3-ethernet':
             title = _("Wired 802.1X authentication");
-            body = _("A password is required to connect to “%s”.".format(connection.get_id()));
+            body = _('A password is required to connect to “%s”.').format(connection.get_id());
             break;
         case 'pppoe':
             title = _("DSL authentication");
-            body = _("A password is required to connect to “%s”.".format(connection.get_id()));
+            body = _('A password is required to connect to “%s”.').format(connection.get_id());
             break;
         case 'gsm':
             if (hints.includes('pin')) {